package com.spr.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * 设备状态日志表
 */
@ApiModel(description = "设备状态日志表")
@Data
@TableName(value = "spr_device_status_record")
public class SprDeviceStatusRecord {


    /**
     * 车间ID
     */
    @TableField(value = "workshop_id")
    @ApiModelProperty(value = "车间ID	")
    private Integer workshopId;

    /**
     * 设备机器码
     */
    @TableField(value = "device_number")
    @ApiModelProperty(value = "设备机器码	")
    private String deviceNumber;

    /**
     * 设备名称
     */
    @TableField(value = "device_name")
    @ApiModelProperty(value = "设备名称	")
    private String deviceName;

    /**
     * 设备状态 '开机','喷漆中','停止'
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "设备状态 '开机','喷漆中','停止'")
    private String status;

    /**
     * 状态操作时间
     */
    @TableField(value = "log_time")
    @ApiModelProperty(value = "状态操作时间	")
    private Date logTime;

    /**
     * 操作人
     */
    @TableField(value = "`operator`")
    @ApiModelProperty(value = "操作人")
    private String operator;


}